//
// Created by hkkzzxz on 24-9-3.
//

#include "UserLogin.h"

void UserLogin::FillFromRow(sql::ResultSet *rs) {
    salt = rs->getString("salt");
    password = rs->getString("password");
    identity = rs->getString("identity");
}

const std::string &UserLogin::getSalt() const {
    return salt;
}

const std::string &UserLogin::getPassword() const {
    return password;
}

const std::string &UserLogin::getIdentity() const {
    return identity;
}
